package cn.iocoder.yudao.module.infra.api.ymconnection.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 区域电站人员关联新增/修改 Request VO")
@Data
public class ConnectionSaveReqDto {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27283")
    private Long id;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "开启状态不能为空")
    private Integer status;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "公司id", example = "15271")
    private Long deptId;

    @Schema(description = "人员id", example = "31726")
    private Long peopleId;

    @Schema(description = "区域或电站id", example = "9780")
    private Long thingId;

    @Schema(description = "类型 1区域  2电站", example = "2")
    private Integer type;

}